package com.ozo.easy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ozo.easy.entity.SysUserRole;
import com.ozo.easy.pojo.dto.SysUserRoleAuthDTO;
import com.ozo.easy.pojo.vo.SysRoleVO;

import java.util.List;

/**
 * 用户角色 服务类
 *
 * @author ozo
 * @version 1.0
 * @date 2025-02-17 16:53:43
 */
public interface ISysUserRoleService extends IService<SysUserRole> {

    /**
     * 授权角色
     *
     * @param roleAuthDTO
     */
    void auth(SysUserRoleAuthDTO roleAuthDTO);

    /**
     * 详情
     *
     * @param id
     * @return
     */
    List<SysRoleVO> detail(Long id);

}
